﻿///***************************************************************
/// 시  스  템 : Updms.Ref.Exe
/// 단위시스템 : REF
/// 계      층 : Execute Layer (Not Transaction)
/// 프로그램명 : Ref2010r_NT
/// 파  일  명 : Ref2010r_NT.cs
/// 설      명 : 기행기 캘린더
///***************************************************************
/// 수정ID 일자       이름     내용
///---------------------------------------------------------------
/// CH001  2013-04-30 송시명   최초 작성
///***************************************************************
using System.Data;
using System.EnterpriseServices;
using System.Runtime.InteropServices;

using SMFramework.Data;

namespace Updms.Ref.Exe
{
	[ComVisible(true)]
	[Transaction(TransactionOption.NotSupported)]
	[JustInTimeActivation(true)]
	public class Ref2010r_NT : Base.AppFramework.RuleBase
	{
		public Ref2010r_NT()
		{
		}

		#region GetMonthlyTour
		/// <summary>
		/// 기행기 월별조회
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetMonthlyTour(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Ref_Dac_UPDMS_REF_REPORT_Ref2010r _dac = new Dac.Ref_Dac_UPDMS_REF_REPORT_Ref2010r())
			{
				return _dac.GetMonthlyTour(lo_dp);
			}
		}

		#endregion		

		#region GetYearlyTour
		/// <summary>
		/// 기행기 연도별조회
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetYearlyTour(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Ref_Dac_UPDMS_REF_REPORT_Ref2010r _dac = new Dac.Ref_Dac_UPDMS_REF_REPORT_Ref2010r())
			{
				return _dac.GetYearlyTour(lo_dp);
			}
		}

		#endregion		

		#region GetTourInfoBySeq
		/// <summary>
		/// 기행기 상세조회
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetTourInfoBySeq(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Ref_Dac_UPDMS_REF_REPORT_Ref2010r _dac = new Dac.Ref_Dac_UPDMS_REF_REPORT_Ref2010r())
			{
				return _dac.GetTourInfoBySeq(lo_dp);
			}
		}

		#endregion

	}
}
